package com.huitone.smspfm.oldclient.core;

import com.huitone.smspfm.oldclient.model.MtSms;

/**   
* @Title: MTSms.java 
* @Package com.unicom.gddw.xmlparse 
* @Description: TODO(用一句话描述该文件做什么) 
* @author ybliang   
* @date 2017年3月9日 上午11:12:09 
* @version V1.0   
*/
public class MTSmsXmlParse extends AbstractXmlParse<MtSms> {
	
	private static MTSmsXmlParse instance = null;

	public MTSmsXmlParse(int poolSize, String dirPath, String regex, String startTag, String endTag) {
		super(poolSize, dirPath, regex, startTag, endTag);
	}
	
	public static MTSmsXmlParse getInstance(int poolSize, String dirPath, String regex, String startTag, String endTag) {
		
		if (instance == null) {
			
			synchronized (MTSmsXmlParse.class) {
				
				if (instance == null) {
					instance = new MTSmsXmlParse(poolSize, dirPath, regex, startTag, endTag);
				}
			}
		}
		
		return instance;
	}
}
